<template>
    <div class="mui-content">
        <div class="mui-icon  mui-icon-arrowleft mui-text-center" @click="goBack"></div>
        <div  class="title mui-text-center">{{title}}</div>
    </div>
</template>

<script>

    export default {
        name: "head.vue",
        props:{
                title:String
        },
        methods:{
            goBack(){
                this.$emit('goBack1')
            }
        }
    }
</script>

<style scoped>
    .mui-content{
        display: flex;
        width: 100%;
        height: 55px;
        line-height: 55px;
        background-color: azure;
    }
    .mui-content .mui-icon{
        display: inline-block;
        width: 14%;
        height: 55px;
        line-height: 55px;

    }
    .mui-content .title{
        display: inline-block;
        width: 76%;
    }

</style>